<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page import="paging.ADNoticPaging"%>
<%
	String myContext = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
.ResultTab {
	font-size: small;
	font-family: 맑은 고딕;
	margin: 0px 0px 50px 0px;
}
</style>

<script type="text/javascript" src="./js/jquery.js"></script>

</head>
<body id="twoCol">
	<div id="container">
		<div id="contentWrap">
			<div id="main">
				<h1>관리자 페이지 - 공지 관리</h1>
				<table width="700" border="0" class="ResultTab">
					<thead>
						<tr>
							<th scope="col">번호</th>
							<th scope="col" width="433">제목</th>
							<th scope="col">등록일</th>
							<th scope="col">조회수</th>
						</tr>
					</thead>

					<tbody>
						<c:forEach var="notice" items="${noticeList}">
							<tr>
								<td align="center">${notice.nno }</td>
								<td align="center"><a href="#" onclick="ajaxMemberResult('Adminview.admin?nno=${notice.nno }')">${notice.subject }</a></td>
								<td align="center">${notice.redate }</td>
								<td align="center">${notice.rhit }</td>
							</tr>
						</c:forEach>

					</tbody>
					<tr align="center">
						<td colspan="2" align="right">${pageInfo.pagingHtml}</td>
						<td colspan="2" align="right"><input type="button" class="button2" value="글쓰기" onclick="ajaxMemberResult('AdminNTform.admin');"></td>
					</tr>
				</table>
			</div>
		</div>
	</div>

</body>
</html>